//
//  GRStoreHeaderView.h
//  YC_GRice
//
//  Created by luojinrong11 on 2018/8/24.
//  Copyright © 2018年 YeCai. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MAMapKit/MAMapKit.h>
#import <AMapFoundationKit/AMapFoundationKit.h>
@protocol GRStoreHeaderViewDelegate <NSObject>
-(void)ScrollerToIndex:(NSInteger)index;
-(void)LookBigPic:(NSInteger)index PhotoArr:(NSArray *)photoArr;
-(void)openNavi;
    
@end
@interface GRStoreHeaderView : UIView<UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout,MAMapViewDelegate>
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@property (weak, nonatomic) IBOutlet UILabel *scoreLable;

@property (weak, nonatomic) IBOutlet UILabel *griceLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;

@property (weak, nonatomic) IBOutlet UILabel *addressLabel;
@property (weak, nonatomic) IBOutlet UICollectionView *photoList;
@property(nonatomic,strong)NSArray * photoArr;
@property(nonatomic,strong)NSArray *menueArr;
@property (weak, nonatomic) IBOutlet MAMapView *mapView;
@property(nonatomic,assign)CLLocationCoordinate2D coordinate;
@property (weak, nonatomic) IBOutlet UIView *lineView;
@property(nonatomic,assign)id<GRStoreHeaderViewDelegate> delegate;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *topOffset;
@property(nonatomic,copy)NSString * storeName;
@property(nonatomic,copy)NSString * moblie;


@end
